package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Works;
import com.ruoyi.system.domain.WorkDetailDTO;


public interface IWorksService 
{

    public Works selectWorksByWorkId(Long workId);


    public List<Works> selectWorksList(Works works);
    public List<Works> selectWorksLists(Works works);


    public int insertWorks(Works works);


    public int updateWorks(Works works);

    public int deleteWorksByWorkIds(Long[] workIds);


    public int deleteWorksByWorkId(Long workId);

    int selecUserIdByWorkId(Long workId);


    /*获取作品详细信息*/
    WorkDetailDTO getWorkDetail(Long workId);
}
